﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabLoan_Repayment
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? against_loan { get; set; }
        public string? applicant_type { get; set; }
        public string? applicant { get; set; }
        public string? loan_type { get; set; }
        public string? company { get; set; }
        public DateTime? posting_date { get; set; }
        public DateOnly? clearance_date { get; set; }
        public decimal rate_of_interest { get; set; }
        public int is_term_loan { get; set; }
        public DateOnly? due_date { get; set; }
        public decimal pending_principal_amount { get; set; }
        public decimal interest_payable { get; set; }
        public decimal payable_amount { get; set; }
        public decimal shortfall_amount { get; set; }
        public decimal payable_principal_amount { get; set; }
        public decimal penalty_amount { get; set; }
        public decimal amount_paid { get; set; }
        public string? cost_center { get; set; }
        public string? reference_number { get; set; }
        public DateOnly? reference_date { get; set; }
        public decimal principal_amount_paid { get; set; }
        public decimal total_penalty_paid { get; set; }
        public decimal total_interest_paid { get; set; }
        public string? amended_from { get; set; }
        public string? payment_account { get; set; }
        public string? penalty_income_account { get; set; }
        public string? loan_account { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
    }
}
